package com.liu.users.pojo;



import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
import com.liu.common.pojo.BasePojo;

import lombok.Data;

/**
 * 地区表的pojo
 * @author lby
 *
 */
@Data
public class ARegion extends BasePojo<ARegion>
{
	private int id;
	private int parentId;
	private String name;
	private String areacode;
	private String content;
	private byte leafStatus;
	private byte status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date pubTime;
	
	/**
	 * 一个地区持有多个用户
	 */
	private List<AUsers> usersList = new ArrayList<AUsers>();
}
